﻿using Radius.NET.Interface.Kingdee.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Radius.NET.Interface.Kingdee.Entity
{
    /// <summary>
    /// 生产订单
    /// </summary>
    public class PRD_MO_Dto
    {
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime FDate { get; set; }
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 行号
        /// </summary>
        public string FTreeEntity_FSEQ { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        [KingdeeColumn("FMaterialId.FNumber")]
        public string FMaterialIdFNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string FMaterialName { get; set; }
        /// <summary>
        /// BOM编码
        /// </summary>
        [KingdeeColumn("FBomId.FNumber")]
        public string FBomIdFNumber { get; set; }
        /// <summary>
        /// 生产总量
        /// </summary>
        public double FQty { get; set; }
        /// <summary>
        /// 车间ID
        /// </summary>
        public string FWorkShopId { get; set; }
        /// <summary>
        /// 车间编码
        /// </summary>
        [KingdeeColumn("FWorkShopId.FNumber")]
        public string FWorkShopIdFNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string FPlannerID { get; set; }
        public string FDescription { get; set; }
        /// <summary>
        /// 生产订单明细ID
        /// </summary>
        public int FTreeEntity_FEntryId { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        [KingdeeColumn("FLot.FNumber")]
        public string FLotFNumber { get; set; }
        /// <summary>
        /// 生产订单ID
        /// </summary>
        public int FID { get; set; }
        /// <summary>
        /// 订单类型
        /// </summary>
        [KingdeeColumn("FBillType.FNumber")]
        public string FBillTypeFNumber { get; set; }
        /// <summary>
        /// 计划开始日期
        /// </summary>
        public DateTime FPlanStartDate { get; set; }
        public string FProductType { get; set; }
        /// <summary>
        /// 计划完工日期
        /// </summary>
        public DateTime FPlanFinishDate { get; set; }
    }
}
